package com.qf.test01.service.proxy;

import com.qf.test01.service.FangDong;

public class FangDongStaticProxy implements FangDong {
    private FangDong fangDong;

    public FangDong getFangDong() {
        return fangDong;
    }

    public void setFangDong(FangDong fangDong) {
        this.fangDong = fangDong;
    }

    @Override
    public void rentHouse() {
        System.out.println("发布租房信息");
        System.out.println("带用户看房");
        fangDong.rentHouse();
    }
}
